How Dialogs Are Organized In Arbeidsflate
Arbeidsflate displays messages and dialogs in a unified format (dialogs) provided by Dialogporten,
and organize these dialogs into different views or folders based on their status or other attributes, reflecting their current state or location.
Users can also navigate the inbox using the search bar and various filters to locate specific messages or dialogs.
Inbox element views in dialogporten-frontendβ
| Folder/View | Status | System Label | Comment |
|---|---|---|---|
| Inbox | NotApplicable, InProgress, RequiresAttention, Completed | Default | Landing page for search results |
| Drafts | Draft | Default | Status and label can not be overidden |
| Sent | Awaiting | Default | Status and label can not be overidden |
| Archive | (no specific status filter) | Archive | Status and label can not be overidden |
| Bin | (no specific status filter) | Bin | Status and label can not be overidden |
Filter Categoriesβ
Three main filter types are generated:
- Sender (org): Based on unique organization IDs present in the dialogs, e.g. SKD.
- Status: Derived from
statusandsystemLabelfields. These are grouped and mapped to human-readable labels. Normalization logic ensures system labels likeArchiveorBinare treated as labels, not statuses. - Updated date: Calculated from dialog
updatedAttimestamps, grouped into relative time ranges (e.g. Today, This Week, Last Year).
These filters (when applied) are sent to Dialogporten as input parameters, together with (optional) search string (from searchbar) and selected authorized party.